home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Why can't I debug my ODF part?
- Sent: 5/24/96 5:16 PM
- Received: 5/24/96 5:26 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I created an ODF part with PartMaker. It is based on the hello part, and
- >I'm using the DR5 release of OpenDoc that I got at WWDC. I follow all the
- >directions that were given in DR4 for debugging a part (couldn't find any
- >on DR5), but the debugger never stops at my breakpoints. I'm using
- >Metrowerks CW 8. I was debugging just fine with DR4 and non ODF
- >parts.
- >Does anyone have any ideas what might be going wrong?
- >
- >Thanks,
- >Walter
-
-
- There is nothing special about debugging ODF parts vs non-ODF parts. We
- had the same kind of problems at one point with some versions of the
- debugger and metronub under CW8 but Metrowerks has been putting patches
- which fixed them a while ago. I don't know what to tell you. Do you have
- the latest patches from metrowerks? where do you but your breakpoints? A
- good place is in C<YourPart>::Initialize. Try also to press the command
- key while lauching your part, you will get a debugStr in
- ODF_LIBRARY_CFMINIT and then in ODFCFMINIT. ODF has some code in the
- debug build testing the command key in the CFM init routine. That should
- target correctly your shared library.
-
-
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-